import React, { Fragment, memo } from 'react'
import { useRoutes } from 'react-router-dom'
import routes from './router'

const App = memo(() => {
  return (
    <Fragment>
      {useRoutes(routes)}
    </Fragment>
  )
})

export default App